package com.seecen.myspringboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
// 告诉spring要生成的代理对象的接口在哪儿
@MapperScan("com.seecen.myspringboot.dao")
// 扫描controller包
@ComponentScan({"com.seecen.myspringboot","com.seecen.controller"})
public class MyspringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyspringbootApplication.class, args);
    }

}
